package com.qfmy.webapp.mapper.wallpaper;

import com.qfmy.model.entity.wallpaper.WallpaperRating;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author 清风明月
 * @Package com.qfmy.web.app.mapper.wallpaper
 * @date 2025/11/26
 * @description 壁纸评分
 */
@Mapper
@SuppressWarnings("all")
public interface WallpaperRatingMapper {

    /**
     * 添加壁纸评分
     * @param wallpaperRating
     */
    void addWallpaperRating(WallpaperRating wallpaperRating);

    /**
     * 查询壁纸评分
     * @param userId
     * @param id
     * @return
     */
    WallpaperRating selectWallpaperRating(Long userId, Integer id);
}
